#ifndef __27D74A39_3D0E_432d_9806_F900663C5768__
#define __27D74A39_3D0E_432d_9806_F900663C5768__

#include "../import/head.h"
#include "../tools/head.h"

/////////////////////////////////////////////////////////////////////////////////////////
// 

namespace xos
{
    class aio_impl;
    class msg_impl;
    class aio_key;

    class aio_udp
    {
    public:
        aio_udp( aio_impl * pAioImpl );
        ~aio_udp();

    protected:
        aio_impl * m_pAioImpl;

    public:
        int user_init_server( msg_impl * lpMsg );
        int close_handle( msg_impl * lpMsg );
        int user_send( msg_impl * lpMsg );
        int user_recv( msg_impl * lpMsg );

        int udp_error( aio_key * lpKey );
        int udp_recv( aio_key * lpKey );
        int udp_send( aio_key * lpKey );

    };
} // xos

#endif // __27D74A39_3D0E_432d_9806_F900663C5768__
